package yancy.modules.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import yancy.common.utils.PageUtils;
import yancy.modules.sys.entity.SysBook;

import java.util.Map;

public interface SysBookService extends IService<SysBook> {

    PageUtils queryPage(Map<String, Object> params);

    Page query(Page p, Map<String, Object> params);

    void saveBook(SysBook book);

     void update(SysBook book);

    boolean deleteById(Long bookId);
}
